use axum::Router;
use crate::AppState;

pub mod user;


pub trait Controller {
    fn router()->Router<AppState>;
}

pub fn register()->Router<AppState> {
    Router::new()
    .nest("/user", user::UserController::router())
}